package com.yunke.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 菜单VO
 * 
 * @author yunke
 * @since 1.0.0
 */
@Data
@Schema(name = "YunkeMenuVo", description = "菜单VO")
public class YunkeMenuVo {

    @Schema(description = "菜单ID")
    private Long id;

    @Schema(description = "父菜单ID")
    private Long parentId;

    @Schema(description = "菜单名称")
    private String menuName;

    @Schema(description = "菜单编码")
    private String menuCode;

    @Schema(description = "菜单路径")
    private String path;

    @Schema(description = "组件路径")
    private String component;

    @Schema(description = "权限标识")
    private String permission;

    @Schema(description = "菜单类型（1目录 2菜单 3按钮）")
    private Integer menuType;

    @Schema(description = "菜单类型描述")
    private String menuTypeText;

    @Schema(description = "菜单图标")
    private String icon;

    @Schema(description = "是否显示")
    private Boolean visible;

    @Schema(description = "显示状态描述")
    private String visibleText;

    @Schema(description = "是否启用")
    private Boolean enabled;

    @Schema(description = "启用状态描述")
    private String enabledText;

    @Schema(description = "是否缓存")
    private Boolean keepAlive;

    @Schema(description = "是否外链")
    private Boolean isFrame;

    @Schema(description = "排序号")
    private Integer sortOrder;

    @Schema(description = "菜单级别")
    private Integer level;

    @Schema(description = "子菜单列表")
    private List<YunkeMenuVo> children;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建人昵称")
    private String creatorName;

    @Schema(description = "创建时间")
    private Long createTime;

    @Schema(description = "更新时间")
    private Long updateTime;
} 